package com.henu.cee_service.entity;

import java.util.ArrayList;
import java.util.List;

public class UniversityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UniversityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUniversityIdIsNull() {
            addCriterion("university_id is null");
            return (Criteria) this;
        }

        public Criteria andUniversityIdIsNotNull() {
            addCriterion("university_id is not null");
            return (Criteria) this;
        }

        public Criteria andUniversityIdEqualTo(String value) {
            addCriterion("university_id =", value, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdNotEqualTo(String value) {
            addCriterion("university_id <>", value, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdGreaterThan(String value) {
            addCriterion("university_id >", value, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdGreaterThanOrEqualTo(String value) {
            addCriterion("university_id >=", value, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdLessThan(String value) {
            addCriterion("university_id <", value, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdLessThanOrEqualTo(String value) {
            addCriterion("university_id <=", value, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdLike(String value) {
            addCriterion("university_id like", value, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdNotLike(String value) {
            addCriterion("university_id not like", value, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdIn(List<String> values) {
            addCriterion("university_id in", values, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdNotIn(List<String> values) {
            addCriterion("university_id not in", values, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdBetween(String value1, String value2) {
            addCriterion("university_id between", value1, value2, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityIdNotBetween(String value1, String value2) {
            addCriterion("university_id not between", value1, value2, "universityId");
            return (Criteria) this;
        }

        public Criteria andUniversityNameIsNull() {
            addCriterion("university_name is null");
            return (Criteria) this;
        }

        public Criteria andUniversityNameIsNotNull() {
            addCriterion("university_name is not null");
            return (Criteria) this;
        }

        public Criteria andUniversityNameEqualTo(String value) {
            addCriterion("university_name =", value, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameNotEqualTo(String value) {
            addCriterion("university_name <>", value, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameGreaterThan(String value) {
            addCriterion("university_name >", value, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameGreaterThanOrEqualTo(String value) {
            addCriterion("university_name >=", value, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameLessThan(String value) {
            addCriterion("university_name <", value, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameLessThanOrEqualTo(String value) {
            addCriterion("university_name <=", value, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameLike(String value) {
            addCriterion("university_name like", value, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameNotLike(String value) {
            addCriterion("university_name not like", value, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameIn(List<String> values) {
            addCriterion("university_name in", values, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameNotIn(List<String> values) {
            addCriterion("university_name not in", values, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameBetween(String value1, String value2) {
            addCriterion("university_name between", value1, value2, "universityName");
            return (Criteria) this;
        }

        public Criteria andUniversityNameNotBetween(String value1, String value2) {
            addCriterion("university_name not between", value1, value2, "universityName");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIsNull() {
            addCriterion("province_id is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIsNotNull() {
            addCriterion("province_id is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceIdEqualTo(String value) {
            addCriterion("province_id =", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotEqualTo(String value) {
            addCriterion("province_id <>", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdGreaterThan(String value) {
            addCriterion("province_id >", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdGreaterThanOrEqualTo(String value) {
            addCriterion("province_id >=", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdLessThan(String value) {
            addCriterion("province_id <", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdLessThanOrEqualTo(String value) {
            addCriterion("province_id <=", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdLike(String value) {
            addCriterion("province_id like", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotLike(String value) {
            addCriterion("province_id not like", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIn(List<String> values) {
            addCriterion("province_id in", values, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotIn(List<String> values) {
            addCriterion("province_id not in", values, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdBetween(String value1, String value2) {
            addCriterion("province_id between", value1, value2, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotBetween(String value1, String value2) {
            addCriterion("province_id not between", value1, value2, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceNameIsNull() {
            addCriterion("province_name is null");
            return (Criteria) this;
        }

        public Criteria andProvinceNameIsNotNull() {
            addCriterion("province_name is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceNameEqualTo(String value) {
            addCriterion("province_name =", value, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameNotEqualTo(String value) {
            addCriterion("province_name <>", value, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameGreaterThan(String value) {
            addCriterion("province_name >", value, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameGreaterThanOrEqualTo(String value) {
            addCriterion("province_name >=", value, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameLessThan(String value) {
            addCriterion("province_name <", value, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameLessThanOrEqualTo(String value) {
            addCriterion("province_name <=", value, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameLike(String value) {
            addCriterion("province_name like", value, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameNotLike(String value) {
            addCriterion("province_name not like", value, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameIn(List<String> values) {
            addCriterion("province_name in", values, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameNotIn(List<String> values) {
            addCriterion("province_name not in", values, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameBetween(String value1, String value2) {
            addCriterion("province_name between", value1, value2, "provinceName");
            return (Criteria) this;
        }

        public Criteria andProvinceNameNotBetween(String value1, String value2) {
            addCriterion("province_name not between", value1, value2, "provinceName");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNull() {
            addCriterion("city_id is null");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNotNull() {
            addCriterion("city_id is not null");
            return (Criteria) this;
        }

        public Criteria andCityIdEqualTo(String value) {
            addCriterion("city_id =", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotEqualTo(String value) {
            addCriterion("city_id <>", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThan(String value) {
            addCriterion("city_id >", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThanOrEqualTo(String value) {
            addCriterion("city_id >=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThan(String value) {
            addCriterion("city_id <", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThanOrEqualTo(String value) {
            addCriterion("city_id <=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLike(String value) {
            addCriterion("city_id like", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotLike(String value) {
            addCriterion("city_id not like", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdIn(List<String> values) {
            addCriterion("city_id in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotIn(List<String> values) {
            addCriterion("city_id not in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdBetween(String value1, String value2) {
            addCriterion("city_id between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotBetween(String value1, String value2) {
            addCriterion("city_id not between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverIsNull() {
            addCriterion("university_lever is null");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverIsNotNull() {
            addCriterion("university_lever is not null");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverEqualTo(String value) {
            addCriterion("university_lever =", value, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverNotEqualTo(String value) {
            addCriterion("university_lever <>", value, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverGreaterThan(String value) {
            addCriterion("university_lever >", value, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverGreaterThanOrEqualTo(String value) {
            addCriterion("university_lever >=", value, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverLessThan(String value) {
            addCriterion("university_lever <", value, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverLessThanOrEqualTo(String value) {
            addCriterion("university_lever <=", value, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverLike(String value) {
            addCriterion("university_lever like", value, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverNotLike(String value) {
            addCriterion("university_lever not like", value, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverIn(List<String> values) {
            addCriterion("university_lever in", values, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverNotIn(List<String> values) {
            addCriterion("university_lever not in", values, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverBetween(String value1, String value2) {
            addCriterion("university_lever between", value1, value2, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityLeverNotBetween(String value1, String value2) {
            addCriterion("university_lever not between", value1, value2, "universityLever");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeIsNull() {
            addCriterion("university_attribute is null");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeIsNotNull() {
            addCriterion("university_attribute is not null");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeEqualTo(String value) {
            addCriterion("university_attribute =", value, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeNotEqualTo(String value) {
            addCriterion("university_attribute <>", value, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeGreaterThan(String value) {
            addCriterion("university_attribute >", value, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeGreaterThanOrEqualTo(String value) {
            addCriterion("university_attribute >=", value, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeLessThan(String value) {
            addCriterion("university_attribute <", value, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeLessThanOrEqualTo(String value) {
            addCriterion("university_attribute <=", value, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeLike(String value) {
            addCriterion("university_attribute like", value, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeNotLike(String value) {
            addCriterion("university_attribute not like", value, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeIn(List<String> values) {
            addCriterion("university_attribute in", values, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeNotIn(List<String> values) {
            addCriterion("university_attribute not in", values, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeBetween(String value1, String value2) {
            addCriterion("university_attribute between", value1, value2, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andUniversityAttributeNotBetween(String value1, String value2) {
            addCriterion("university_attribute not between", value1, value2, "universityAttribute");
            return (Criteria) this;
        }

        public Criteria andYearIsNull() {
            addCriterion("`year` is null");
            return (Criteria) this;
        }

        public Criteria andYearIsNotNull() {
            addCriterion("`year` is not null");
            return (Criteria) this;
        }

        public Criteria andYearEqualTo(String value) {
            addCriterion("`year` =", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotEqualTo(String value) {
            addCriterion("`year` <>", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThan(String value) {
            addCriterion("`year` >", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThanOrEqualTo(String value) {
            addCriterion("`year` >=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThan(String value) {
            addCriterion("`year` <", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThanOrEqualTo(String value) {
            addCriterion("`year` <=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLike(String value) {
            addCriterion("`year` like", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotLike(String value) {
            addCriterion("`year` not like", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearIn(List<String> values) {
            addCriterion("`year` in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotIn(List<String> values) {
            addCriterion("`year` not in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearBetween(String value1, String value2) {
            addCriterion("`year` between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotBetween(String value1, String value2) {
            addCriterion("`year` not between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentIsNull() {
            addCriterion("plan_enrollment is null");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentIsNotNull() {
            addCriterion("plan_enrollment is not null");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentEqualTo(Float value) {
            addCriterion("plan_enrollment =", value, "planEnrollment");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentNotEqualTo(Float value) {
            addCriterion("plan_enrollment <>", value, "planEnrollment");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentGreaterThan(Float value) {
            addCriterion("plan_enrollment >", value, "planEnrollment");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentGreaterThanOrEqualTo(Float value) {
            addCriterion("plan_enrollment >=", value, "planEnrollment");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentLessThan(Float value) {
            addCriterion("plan_enrollment <", value, "planEnrollment");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentLessThanOrEqualTo(Float value) {
            addCriterion("plan_enrollment <=", value, "planEnrollment");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentIn(List<Float> values) {
            addCriterion("plan_enrollment in", values, "planEnrollment");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentNotIn(List<Float> values) {
            addCriterion("plan_enrollment not in", values, "planEnrollment");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentBetween(Float value1, Float value2) {
            addCriterion("plan_enrollment between", value1, value2, "planEnrollment");
            return (Criteria) this;
        }

        public Criteria andPlanEnrollmentNotBetween(Float value1, Float value2) {
            addCriterion("plan_enrollment not between", value1, value2, "planEnrollment");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentIsNull() {
            addCriterion("actual_archive_ment is null");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentIsNotNull() {
            addCriterion("actual_archive_ment is not null");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentEqualTo(Float value) {
            addCriterion("actual_archive_ment =", value, "actualArchiveMent");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentNotEqualTo(Float value) {
            addCriterion("actual_archive_ment <>", value, "actualArchiveMent");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentGreaterThan(Float value) {
            addCriterion("actual_archive_ment >", value, "actualArchiveMent");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentGreaterThanOrEqualTo(Float value) {
            addCriterion("actual_archive_ment >=", value, "actualArchiveMent");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentLessThan(Float value) {
            addCriterion("actual_archive_ment <", value, "actualArchiveMent");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentLessThanOrEqualTo(Float value) {
            addCriterion("actual_archive_ment <=", value, "actualArchiveMent");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentIn(List<Float> values) {
            addCriterion("actual_archive_ment in", values, "actualArchiveMent");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentNotIn(List<Float> values) {
            addCriterion("actual_archive_ment not in", values, "actualArchiveMent");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentBetween(Float value1, Float value2) {
            addCriterion("actual_archive_ment between", value1, value2, "actualArchiveMent");
            return (Criteria) this;
        }

        public Criteria andActualArchiveMentNotBetween(Float value1, Float value2) {
            addCriterion("actual_archive_ment not between", value1, value2, "actualArchiveMent");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreIsNull() {
            addCriterion("admission_score is null");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreIsNotNull() {
            addCriterion("admission_score is not null");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreEqualTo(Float value) {
            addCriterion("admission_score =", value, "admissionScore");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreNotEqualTo(Float value) {
            addCriterion("admission_score <>", value, "admissionScore");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreGreaterThan(Float value) {
            addCriterion("admission_score >", value, "admissionScore");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreGreaterThanOrEqualTo(Float value) {
            addCriterion("admission_score >=", value, "admissionScore");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreLessThan(Float value) {
            addCriterion("admission_score <", value, "admissionScore");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreLessThanOrEqualTo(Float value) {
            addCriterion("admission_score <=", value, "admissionScore");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreIn(List<Float> values) {
            addCriterion("admission_score in", values, "admissionScore");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreNotIn(List<Float> values) {
            addCriterion("admission_score not in", values, "admissionScore");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreBetween(Float value1, Float value2) {
            addCriterion("admission_score between", value1, value2, "admissionScore");
            return (Criteria) this;
        }

        public Criteria andAdmissionScoreNotBetween(Float value1, Float value2) {
            addCriterion("admission_score not between", value1, value2, "admissionScore");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankIsNull() {
            addCriterion("university_min_rank is null");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankIsNotNull() {
            addCriterion("university_min_rank is not null");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankEqualTo(Float value) {
            addCriterion("university_min_rank =", value, "universityMinRank");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankNotEqualTo(Float value) {
            addCriterion("university_min_rank <>", value, "universityMinRank");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankGreaterThan(Float value) {
            addCriterion("university_min_rank >", value, "universityMinRank");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankGreaterThanOrEqualTo(Float value) {
            addCriterion("university_min_rank >=", value, "universityMinRank");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankLessThan(Float value) {
            addCriterion("university_min_rank <", value, "universityMinRank");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankLessThanOrEqualTo(Float value) {
            addCriterion("university_min_rank <=", value, "universityMinRank");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankIn(List<Float> values) {
            addCriterion("university_min_rank in", values, "universityMinRank");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankNotIn(List<Float> values) {
            addCriterion("university_min_rank not in", values, "universityMinRank");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankBetween(Float value1, Float value2) {
            addCriterion("university_min_rank between", value1, value2, "universityMinRank");
            return (Criteria) this;
        }

        public Criteria andUniversityMinRankNotBetween(Float value1, Float value2) {
            addCriterion("university_min_rank not between", value1, value2, "universityMinRank");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}